<@report>
   <@model>
      <#compress>
	  <datasets>
	    <#--
	      <sql id="ds1">
		      SELECT 
		        CODE ,
		        NAME 
		          FROM 
		            DM_COLOR T  
		          WHERE 1=1  
		          	AND T.NAME >=PPP 
		         /~ AND T.CODE = :code  ~/
		         /~ AND T.CODE = :code  ~/
	      </sql>
	      -->
	      <bean id="ds2" service="springBean2" method="getDataList2"> </bean>
	   </datasets>
	   </#compress>
   </@model>
   <@render>
         测试
         <#list ds2 as item>
          ${item}<#rt/>
         </#list>
  </@render>
</@report>
